package com.ys.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ys.dao.DeptDao;
import com.ys.entity.Dept;
import com.ys.service.DeptService;

@Service  
public class DeptServiceImpl implements DeptService{
	
    @Autowired  
    private DeptDao dao; 
	
	@Override
	public Dept getDept(int uid) {
		Dept dept = dao.selectDept(uid);
		return dept;
	}
	
}
